<?php

namespace app\modules\index\controllers;

use app\common\controllers\AccessController;
use app\modules\index\services\StoreService;

/**
 * 店铺
 * Class StoreController
 * @package app\modules\index\controllers
 */
class StoreController extends AccessController {

    public function optional()
    {
        return ['*'];
    }

    //首页
    public function actionIndex($merchant_id){
        return StoreService::index($merchant_id);
    }
}